using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Triton.Game.Mapping;

namespace Triton.Game.Abstraction
{
	public class HistoryCard : HistoryItem
	{
		[CompilerGenerated]
		private Triton.Game.Mapping.HistoryCard historyCard_0;

		[CompilerGenerated]
		private Actor actor_1;

		[CompilerGenerated]
		private bool bool_2;

		[CompilerGenerated]
		private List<HistoryChildCard> list_0;

		internal Triton.Game.Mapping.HistoryCard HistoryCard_0
		{
			[CompilerGenerated]
			get
			{
				return historyCard_0;
			}
			[CompilerGenerated]
			set
			{
				historyCard_0 = value;
			}
		}

		public Actor TileActor
		{
			[CompilerGenerated]
			get
			{
				return actor_1;
			}
			[CompilerGenerated]
			private set
			{
				actor_1 = value;
			}
		}

		public bool WasCountered
		{
			[CompilerGenerated]
			get
			{
				return bool_2;
			}
			[CompilerGenerated]
			private set
			{
				bool_2 = value;
			}
		}

		public List<HistoryChildCard> HistoryChildren
		{
			[CompilerGenerated]
			get
			{
				return list_0;
			}
			[CompilerGenerated]
			private set
			{
				list_0 = value;
			}
		}

		internal HistoryCard(Triton.Game.Mapping.HistoryCard backingObject)
			: base(backingObject)
		{
			HistoryCard_0 = backingObject;
			TileActor = new Actor(HistoryCard_0.m_tileActor);
			WasCountered = HistoryCard_0.m_bigCardCountered;
			HistoryChildren = new List<HistoryChildCard>();
			foreach (Triton.Game.Mapping.HistoryChildCard historyChild in HistoryCard_0.m_historyChildren)
			{
				HistoryChildren.Add(new HistoryChildCard(historyChild));
			}
		}
	}
}
